home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / networking / amitcp / wu-ftpd-37.19.lha / wu-ftpd / src / config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-09-09  |  1.6 KB  |  94 lines

  1. #define HAVE_SYMLINK
  2. #undef  BSD
  3. #define HAVE_DIRENT
  4. #define HAVE_D_NAMLEN
  5. #undef  HAVE_FLOCK
  6. #undef  HAVE_FTW
  7. #define HAVE_GETCWD
  8. #define HAVE_GETDTABLESIZE
  9. #undef  HAVE_PSTAT
  10. #undef  HAVE_ST_BLKSIZE
  11. #undef  HAVE_SYSINFO
  12. #undef  HAVE_UT_UT_HOST
  13. #define HAVE_VPRINTF
  14. #define OVERWRITE
  15. #define SETPROCTITLE
  16. #undef  SHADOW_PASSWORD
  17. #define UPLOAD
  18. #undef  USG
  19. #define NO_MALLOC_PROTO
  20.  
  21. #define MAXPATHLEN 256
  22. #define L_SET 0
  23. #define L_INCR 1
  24. #define NGROUPS_MAX 16
  25. #define NCARGS 20480
  26. #define SIGALRM 100 /* this number is ununsed for sure, no system has so many signals :-) */
  27.  
  28. #include <stdlib.h>
  29. #include <unistd.h>
  30.  
  31. #define alloca malloc
  32. #define strcasecmp stricmp
  33. #define strncasecmp strnicmp
  34. #define strcasestr strstr
  35. #define umask amiga_umask
  36. #define getumask amiga_getumask
  37. #define seteuid amiga_seteuid
  38. #define setegid amiga_setegid
  39. #define geteuid amiga_geteuid
  40. #define getpwnam amiga_getpwnam
  41. #define getgrnam amiga_getgrnam
  42. #define signal amiga_signal
  43.  
  44. #ifndef FACILITY
  45. #define FACILITY LOG_DAEMON
  46. #endif
  47.  
  48. typedef void    SIGNAL_TYPE;
  49.  
  50. /*
  51.  * allow "upload" keyword in ftpaccess
  52.  */
  53.  
  54. #define UPLOAD
  55.  
  56. /*
  57.  * allow "overwrite" keyword in ftpaccess.
  58.  */
  59.  
  60. #define OVERWRITE
  61.  
  62. /*
  63.  * allow "allow/deny" for individual users.
  64.  */
  65.  
  66. #define HOST_ACCESS
  67.  
  68. /*
  69.  * log failed login attempts
  70.  */
  71.  
  72. #define LOG_FAILED
  73.  
  74. /*
  75.  * allow use of private file.  (for site group and site gpass)
  76.  */
  77.  
  78. #undef  NO_PRIVATE
  79.  
  80. /*
  81.  * Try once more on failed DNS lookups (to allow far away connections 
  82.  * which might resolve slowly)
  83.  */
  84.  
  85. #define    DNS_TRYAGAIN
  86.  
  87. /*
  88.  * Undefine this if you want a wtmp file like on Unix
  89.  * (not very useful on Amiga, because there is no "last"
  90.  * or "ac" command).
  91.  */
  92.  
  93. #define NO_LOGWTMP
  94.